.class Lcom/example/m6shop/ShopEdit$2;
.super Ljava/lang/Object;
.source "ShopEdit.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/ShopEdit;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/ShopEdit;


# direct methods
.method constructor <init>(Lcom/example/m6shop/ShopEdit;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/ShopEdit$2;->this$0:Lcom/example/m6shop/ShopEdit;

    .line 142
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 144
    invoke-static {}, Lmyclass/Util;->isFastDoubleClick()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 157
    :goto_0
    return-void

    .line 147
    :cond_0
    iget-object v1, p0, Lcom/example/m6shop/ShopEdit$2;->this$0:Lcom/example/m6shop/ShopEdit;

    const v2, 0x7f07028e

    invoke-virtual {v1, v2}, Lcom/example/m6shop/ShopEdit;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    .line 150
    .local v0, "editText1":Landroid/widget/EditText;
    iget-object v1, p0, Lcom/example/m6shop/ShopEdit$2;->this$0:Lcom/example/m6shop/ShopEdit;

    iget-object v1, v1, Lcom/example/m6shop/ShopEdit;->button1:Landroid/widget/Button;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setEnabled(Z)V

    .line 151
    iget-object v1, p0, Lcom/example/m6shop/ShopEdit$2;->this$0:Lcom/example/m6shop/ShopEdit;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    .line 152
    const-string v3, "%"

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, " "

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v2

    .line 151
    iput-object v2, v1, Lcom/example/m6shop/ShopEdit;->orderCc:Ljava/lang/String;

    .line 153
    iget-object v1, p0, Lcom/example/m6shop/ShopEdit$2;->this$0:Lcom/example/m6shop/ShopEdit;

    # getter for: Lcom/example/m6shop/ShopEdit;->mcontext:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6shop/ShopEdit;->access$0(Lcom/example/m6shop/ShopEdit;)Landroid/content/Context;

    move-result-object v1

    const-string v2, "\u8bf7\u7a0d\u540e"

    const-string v3, "\u63d0\u4ea4\u6570\u636e\u4e2d.."

    invoke-static {v1, v2, v3}, Lmyclass/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 155
    iget-object v1, p0, Lcom/example/m6shop/ShopEdit$2;->this$0:Lcom/example/m6shop/ShopEdit;

    invoke-virtual {v1}, Lcom/example/m6shop/ShopEdit;->getSource()Z

    goto :goto_0
.end method
